import React from 'react';
import {connect} from 'react-redux';
import {push} from 'react-router-redux';
import PreviewList from '../components/PreviewList';
import articleList from '../data/articles';

@connect(state => {
	return {
		articleList: articleList
	}
}, {
	push
})

class Home extends React.Component {
	render() {
		return (
			<div>
				<h2>HOME</h2>
				<PreviewList {...this.props} />
			</div>
		)
	}
}

export default Home;